Skip to content

Conversation

@YunchuWang
Copy link
Member

@YunchuWang YunchuWang commented Mar 24, 2025

This pull request add portable sdk support for partial purge to dts backend. PurgeInstancesResponse will return an optional flag "Iscomplete" to indicate whether purge is fully done or done partially.

Enhancements to PurgeResult class and related client updates:

…RPC response handling. Added new AbandonTask RPCs in orchestrator_service.proto. Updated versions.txt with latest proto file source.
@YunchuWang YunchuWang changed the title Enhance PurgeResult to include completion status and update related gRPC response handling. Added new AbandonTask RPCs in orchestrator_service.proto. Updated versions.txt with latest proto file source. Partial Purge Support Mar 24, 2025
…methods in GrpcDurableTaskClientIntegrationTests. These tests verify the correct behavior of instance purging and ensure instances are removed as expected.
@YunchuWang YunchuWang requested a review from cgillum March 25, 2025 16:17
Copy link
Member

@jviau jviau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address the build warnings introduced by your changes.

@cgillum cgillum merged commit e32fa7a into main Mar 26, 2025
4 checks passed
@cgillum cgillum deleted the wangbill/partial-purge branch March 26, 2025 17:13
halspang pushed a commit to halspang/durabletask-dotnet that referenced this pull request Mar 26, 2025
* Enhance PurgeResult to include completion status and update related gRPC response handling. Added new AbandonTask RPCs in orchestrator_service.proto. Updated versions.txt with latest proto file source.

* Update ShimDurableTaskClientTests to assert IsComplete property is not false in PurgeResult

* Add end-to-end tests for PurgeInstance and PurgeInstances_WithFilter methods in GrpcDurableTaskClientIntegrationTests. These tests verify the correct behavior of instance purging and ensure instances are removed as expected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants